#include "head.h"
void enqueue(queue_t *q,int net_fd){
    if(q->size == q->capacity){
        return;
    }
    q->fd[q->rear] = net_fd;
    q->size++;
    q->rear = (q->rear + 1) % q->capacity;
}


